fname=B
test=10000

g++ $fname.cpp -o $fname -lm -O2 -std=c++14

for i in `seq 1 $test`;
do 
	./make 100000 $i
	./$fname
	./check
	if [ $? == 0 ];
	then 
		echo Passed test $i!
	else
		echo Wa on test $i. /kk
		break;
	fi
done
